SHELL = /bin/sh
CPP = g++
CPPFLAGS = -Wall
PKGCONFIG_LIBS = icecode-test
SOURCES = test.cpp
TEST_FILE = test

.PHONY: clean

all: $(TEST_FILE)

$(TEST_FILE): $(SOURCES)
	$(CPP) $(CPPFLAGS) -o $(TEST_FILE) $(SOURCES) $(shell pkg-config --cflags --libs $(PKGCONFIG_LIBS)) -l:../libicecode-config.so

clean:
	$(RM) $(TEST_FILE)
